add_executable(dm-scan 
    scan.c 
    dtb_blob_data.c
    driver1.c
    driver2.c
    driver3.c)
target_include_directories(
    dm-scan PRIVATE 
    ${PROJECT_ROOT}/include
    ${PROJECT_ROOT}/include/driver
    ${BUILD_DIR}/kconfig/include/generated)

target_link_options(dm-scan PRIVATE "-Wl,-Map=output.map")
target_link_options(dm-scan PRIVATE 
    "-T${PROJECT_ROOT}/apps/dm-test/test.ld"
)
target_link_libraries(dm-scan ${QELIB})

